package com.quanyan.operative.mapper;

import com.quanyan.operative.model.db.TbSnatchRecord;
import com.quanyan.operative.model.db.TbSnatchRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbSnatchRecordMapper {
    int countByExample(TbSnatchRecordExample example);

    int deleteByExample(TbSnatchRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbSnatchRecord record);

    int insertSelective(TbSnatchRecord record);

    List<TbSnatchRecord> selectByExample(TbSnatchRecordExample example);

    TbSnatchRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbSnatchRecord record, @Param("example") TbSnatchRecordExample example);

    int updateByExample(@Param("record") TbSnatchRecord record, @Param("example") TbSnatchRecordExample example);

    int updateByPrimaryKeySelective(TbSnatchRecord record);

    int updateByPrimaryKey(TbSnatchRecord record);
}